﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerBitacora.aspx.cs"
    Inherits="Web.PuntoDeVenta.App.CustomerBitacora" %>

<%@ Import Namespace="Web.Framework.Translate" %>
<%@ Register Assembly="Web.Framework" Namespace="Web.Framework.Controls" TagPrefix="Crm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="../Styles/Site.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/GridStyle.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/jquery-ui-1.8.15.custom.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/CustomerStyle.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/jquery.datepick.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/ui.dropdownchecklist.standalone.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.6.1.min.js" type="text/javascript"></script>
    <script src="/Scripts/jquery-ui-1.8.13.custom.min.js" type="text/javascript"></script>
    <script src="/Scripts/ui.dropdownchecklist.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.datepick.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.datepick-es-AR.js" type="text/javascript"></script>
    <script src="/Scripts/CustomerSearch.js?reload=3" type="text/javascript"></script>
    <script src="/Scripts/json2.min.js" type="text/javascript"></script>
    <script src="/Scripts/jqueryWCF.js" type="text/javascript"></script>
    <script src="/Scripts/inputshints.js" type="text/javascript"></script>
    <script src="/Scripts/DirtyCheck.js" type="text/javascript"></script>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <%--Datos del Contacto--%>
    <asp:Panel ID="pnlMessages" runat="server" CssClass="pnlMessagesClass displayNone"
        ClientIDMode="Static">
        <h2>
            <asp:Label ID="txtErrorTitle" runat="server" Text="" CssClass="errorTitle" ClientIDMode="Static"></asp:Label>
        </h2>
        <asp:Panel ID="pnlError" CssClass="errorPanelMessage" ClientIDMode="Static" runat="server">
            <p>
                <asp:Label ID="txtMessages" runat="server" Text="" CssClass="errorMessage" ClientIDMode="Static"></asp:Label>
            </p>
        </asp:Panel>
    </asp:Panel>
    <h2>
        <asp:Literal ID="Literal1" runat="server" Text='<%$ Code:  LocalizationProvider.Instance["BitacoraEdit.AgregarNuevoMensaje"]%>' />
    </h2>
    <asp:Panel ID="pnlCustomerControlsBitacoraForEdit" runat="server" CssClass="editionContainerFilter"
        ClientIDMode="Static">
   
        <div class="clear">
        </div>
        <p class="displayNone">
            <span class="title2">
                <asp:Literal ID="Literal3" runat="server" Text='<%$ Code:  LocalizationProvider.Instance["Bitacora.TipoRegistroBitacora"]%>' />:
            </span>
            <asp:DropDownList ID="cboTipoRegistroBitacora" runat="server" CssClass="cbo" ClientIDMode="Static">
            </asp:DropDownList>
        </p>
        <div class="clear">
        </div>
        <p id="pTipoMensajeBitacora">
            <span class="title2">
                <asp:Literal ID="Literal25" runat="server" Text='<%$ Code:  LocalizationProvider.Instance["Bitacora.TipoMensajeBitacora"]%>' />:
            </span>
            <asp:DropDownList ID="cboTipoMensajeBitacoraId" runat="server" CssClass="cbo" ClientIDMode="Static">
            </asp:DropDownList>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal2" runat="server" Text='<%$ Code:  LocalizationProvider.Instance["Bitacora.Accion"]%>' />:</span>
            <asp:TextBox ID="txtAccion" runat="server" CssClass="inputs inputMultiline" TextMode="MultiLine"
                MaxLength="400" ClientIDMode="Static" title='<%$ Code:  LocalizationProvider.Instance["Bitacora.Accion"] %>'></asp:TextBox>
        </p>
        <div class="clear">
        </div>      
        <div class="commandBarDiv">
            <asp:LinkButton ID="lnkGuardar" runat="server" OnClick="lnkGuardar_Click" ClientIDMode="Static">
                <asp:Literal ID="Literal20" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.Command.Guardar"]%>' /></asp:LinkButton>
            <div class="clear">
            </div>
        </div>  
     </asp:Panel>
    <h2>
        <asp:Literal ID="Literal4" runat="server" Text='<%$ Code:  LocalizationProvider.Instance["BitacoraEdit.Registros"]%>' />
    </h2>
    <asp:Panel ID="pnlBitacora" CssClass="editionContainerForGrid" runat="server" ClientIDMode="Static">
        <div class="clear">
        </div>
        <asp:GridView ID="GridBitacora" runat="server" CellPadding="4" ForeColor="#333333"
            ViewStateMode="Disabled" GridLines="None" AutoGenerateColumns="False" DataKeyNames="Id"
            Width="100%" AllowPaging="True" PageSize="15" OnPageIndexChanging="GridBitacora_PageIndexChanging"
            OnRowCommand="GridBitacora_RowCommand" OnRowDataBound="GridBitacora_RowDataBound">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="Id" Visible="false">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="TipoRegistroBitacora" HeaderText='<%$ Code:  LocalizationProvider.Instance["Bitacora.TipoRegistroBitacora"] %>'>
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="TipoMensajeBitacoraId" HeaderText='<%$ Code:  LocalizationProvider.Instance["Bitacora.TipoMensajeBitacoraId"] %>'>
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="FechaCreacion" HeaderText='<%$ Code:  LocalizationProvider.Instance["Bitacora.FechaCreacion"] %>'
                    DataFormatString="{0:dd/MM/yyyy}">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="Accion" HeaderText='<%$ Code:  LocalizationProvider.Instance["Bitacora.Accion"] %>'>
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#4b6c9e" Font-Bold="True" ForeColor="White" HorizontalAlign="Left"
                CssClass="gridSortingHeader" />
            <PagerStyle BackColor="#4b6c9e" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" CssClass="gridSortingHeader" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" CssClass="gridSortingHeader" />
        </asp:GridView>
    </asp:Panel>
    <div class="clear">
    </div>
    <script type='text/javascript'>

        $(document).ready(function () {

            $('input[title]').inputHints();

        });
    </script>
    </form>
</body>
</html>
